package com.ylbh.modules.job.task;

import com.ylbh.modules.goodsorder.service.ShoppingOrderFormService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @date: 2019/12/23 14:14
 */
@Component("goodsOrderTask")
public class GoodsOrderTask implements ITask {

    private Logger logger = LoggerFactory.getLogger(getClass());

    @Autowired
    private ShoppingOrderFormService shoppingOrderFormService;

    @Override
    public void run(String params) {

        logger.info("==================开始执行候鸟订单信息发货状态==================");
        shoppingOrderFormService.selectHNOrder();
        logger.info("==================结束执行候鸟订单信息发货状态==================");

    }
}
